package com.server.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色菜单关联
 * </p>
 *
 * @author zgr
 * @since 2023-07-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_role_menu")
@ApiModel(value = "SysRoleMenu对象", description = "角色菜单关联")
public class SysRoleMenu extends BaseEntity {

    private static final long serialVersionUID = 6271089985086204561L;

    @ApiModelProperty(" 菜单ID ")
    @TableField("menu_id")
    private Long menuId;

    @ApiModelProperty(" 角色ID ")
    @TableField("role_id")
    private Long roleId;

}
